package com.simple.rpc.component;

import com.simple.rpc.component.cache.RpcServiceCache;
import com.simple.rpc.component.registry.Registry;
import com.simple.rpc.component.server.ProviderServer;

/**
 * 组件配置
 *
 * @author mhh
 * @since 2020/10/21
 */
public class ComponentConfig {

    private Registry registry;

    private RpcServiceCache rpcServiceCache;

    private ProviderServer providerServer;

    public Registry getRegistry() {
        return registry;
    }

    public void setRegistry(Registry registry) {
        this.registry = registry;
    }

    public RpcServiceCache getRpcServiceCache() {
        return rpcServiceCache;
    }

    public void setRpcServiceCache(RpcServiceCache rpcServiceCache) {
        this.rpcServiceCache = rpcServiceCache;
    }

    public ProviderServer getProviderServer() {
        return providerServer;
    }

    public void setProviderServer(ProviderServer providerServer) {
        this.providerServer = providerServer;
    }
}
